package test.excel.config;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "excelFileImport")
public class FileImportConfig {
    @XmlAttribute(required = true)
    private String name;

    @XmlElement(name = "sheet", required = true)
    private List<SheetConfig> sheets = new ArrayList<SheetConfig>();

    public String getName() {
        return name;
    }

    public List<SheetConfig> getSheets() {
        return sheets;
    }
}
